<?php
/**
 * Created by Chongyi.
 * Date: 2015/10/14 0014
 * Time: 下午 1:34
 */

namespace App\B2BProject\Site;


trait ArticleAuthorTrait
{
    public function articles()
    {
        return $this->hasMany('App\B2BProject\Site\Article', 'admin_id', 'id');
    }
}